<template>
    <div class="module-header" v-if="Object.keys($slots).includes('header')">
        <slot name="header"></slot>
    </div>
    <div class="module-content">
        <slot></slot>
    </div>
    <div class="module-footer" v-if="Object.keys($slots).includes('footer')">
        <slot name="footer"></slot>
    </div>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
.module-header {

    /* 搜索区域多行 form-item_label 样式 */
    :deep(.el-form-item__label) {
        line-height: inherit;
        align-items: center;
    }
}
</style>